package com.hxzy.dto.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author:
 * @Data: 2022/9/9 18:51
 * @Description: 内容
 **/
@ApiModel(value = "值改变模型")
@Getter
@Setter
public class ValueChangeDTO {
    @ApiModelProperty(value = "主键",required = false)
    @NotNull(message = "主键的值不能为空")
    private Long id;

    @ApiModelProperty(value = "值",required = true)
    @NotBlank(message = "值不能为空")
    private String value;
}
